.main {
    position: relative;
    width: 100%;
    margin-top: 25px;

    .th {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 20px;

        span {
            display: inline-block;
            width: 50px;
            height: 50px;
            text-align: center;
            line-height: 50px;
            background-size: 100% 100%;
            background-position: center center;
            background-repeat: no-repeat;
            border-radius: 6px;
            font-weight: bold;

            &.sp1 {
                color: #e4132e;
                background: url("@images/calendar-tab-week/tab-01.webp");
            }
            &.sp2 {
                color: #fff;
                background: url("@images/calendar-tab-week/tab-02.webp");
            }
            &.sp3 {
                background: url("@images/calendar-tab-week/tab-03.webp");
            }
            &.sp4 {
                background: url("@images/calendar-tab-week/tab-04.webp");
            }
            &.sp5 {
                background: url("@images/calendar-tab-week/tab-05.webp");
            }
            &.sp6 {
                background: url("@images/calendar-tab-week/tab-06.webp");
            }
            &.sp7 {
                background: url("@images/calendar-tab-week/tab-07.webp");
            }
        }
    }

    .inner {
        width: 100%;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 20px;

        .grid {
            position: relative;
            width: 50px;
            height: 50px;
            border-radius: 8px;
            text-align: center;
            line-height: 50px;

            &.date {
                box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.2);
                cursor: pointer;
                user-select: none;
                -webkit-user-select: none;
                background-color: rgba(255, 255, 255, 0.9);
                color: rgba(0, 0, 0, 0.8);
                font-size: 14px;

                &:hover,
                &.active {
                    background-color: rgba(0, 0, 0, 0.1);
                    color: rgba(255, 255, 255, 0.9);
                    font-size: 16px;
                }

                .red_dot {
                    display: inline-block;
                    position: absolute;
                    z-index: 1;
                    top: -6px;
                    right: -10px;
                    box-sizing: border-box;
                    padding: 0 5px;
                    border-radius: 7px;
                    font-size: 12px;
                    color: #fff;
                    background-color: red;
                    line-height: 14px;
                }
            }

            &.no {
                background-color: #ebe8e866;

                .red_dot {
                    display: none;
                }
            }
        }
    }

    .edit_holidy {
        position: absolute;
        right: -45px;
        top: 0;
        font-size: 24px;
        cursor: pointer;

        &:hover {
            color: #e4132e;
        }
    }
}
